using System.Threading.Tasks;

namespace CKY.AgentPlatform.Caching
{
    public interface ICachingService
    {
        Task<string> GetAsync(string key);
        Task SetAsync(string key, string value, int? expirationSeconds = null);
        Task RemoveAsync(string key);
        Task<bool> ExistsAsync(string key);
        Task ClearAllAsync();
    }
}